<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Lant注册</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link href="/lant/layui/css/layui.css" rel="stylesheet" type="text/css">
<link href="/lant/css/user/admin.css" rel="stylesheet" type="text/css">
<link href="/lant/css/user/login.css" rel="stylesheet" type="text/css">
</head>
<body>
  <div id="registerModel">
    <div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login" style="display: none;">
      <div class="layadmin-user-login-main">
        <div class="layadmin-user-login-box layadmin-user-login-header">
          <h2>Lant后台管理模板系统</h2>
        </div>
        <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
          <div class="layui-form-item">
            <label class="layadmin-user-login-icon layui-icon layui-icon-cellphone" for="LAY-user-login-cellphone"></label>
            <input type="text" name="mobile" id="mobile" lay-verify="phone" placeholder="手机" class="layui-input" v-model="mobile">
          </div>
          <div class="layui-form-item">
            <div class="layui-row">
              <div class="layui-col-xs7">
                <label class="layadmin-user-login-icon layui-icon layui-icon-vercode" for="LAY-user-login-vercode"></label>
                <input type="text" name="vercode" id="vercode" placeholder="验证码" class="layui-input" v-model="vercode">
              </div>
              <div class="layui-col-xs5">
                <div style="margin-left: 10px;">
                  <button type="button" class="layui-btn layui-btn-primary layui-btn-fluid" id="LAY-user-getsmscode" v-on:click="getSmsCode">获取验证码</button>
                </div>
              </div>
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="LAY-user-login-password"></label>
            <input type="password" name="password" id="password" placeholder="密码" class="layui-input" v-model="password">
          </div>
          <div class="layui-form-item">
            <label class="layadmin-user-login-icon layui-icon layui-icon-password" for="LAY-user-login-repass"></label>
            <input type="password" name="confirmPassword" id="confirmPassword" placeholder="确认密码" class="layui-input" v-model="confirmPassword">
          </div>
          <div class="layui-form-item">
            <label class="layadmin-user-login-icon layui-icon layui-icon-username" for="LAY-user-login-nickname"> </label>
            <input type="text" name="userName" id="userName" placeholder="用户名" class="layui-input" v-model="userName">
          </div>
          <div class="layui-form-item">
            <input type="checkbox" name="agreement" lay-skin="primary" title="同意用户协议" checked="checked">
          </div>
          <div class="layui-form-item">
            <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="LAY-user-reg-submit" v-on:click="registerUser">注 册</button>
          </div>
          <div class="layui-trans layui-form-item layadmin-user-login-other">
            <label>社交账号注册</label>
            <a href="javascript:;">
              <i class="layui-icon layui-icon-login-qq"></i>
            </a>
            <a href="javascript:;">
              <i class="layui-icon layui-icon-login-wechat"></i>
            </a>
            <a href="javascript:;">
              <i class="layui-icon layui-icon-login-weibo"></i>
            </a>
            <a href="login" class="layadmin-user-jump-change layadmin-link layui-hide-xs">用已有帐号登入</a>
          </div>
        </div>
      </div>
      <div class="layui-trans layadmin-user-login-footer">
        <p>
          © 2020
          <a href="http://www.lant.com/" target="_blank">www.lant.com</a>
        </p>
      </div>
    </div>
  </div>
  <script src="/lant/webjars/jquery/3.5.0/jquery.js"></script>
  <script src="/lant/layui/layui.all.js"></script>
  <script src="/lant/js/vue/vue.js"></script>
  <script src="/lant/js/common/common.js"></script>
  <script src="/lant/js/user/register.js"></script>
  <script type="text/javascript">
      var registerVm = registerPage.VUE.InitPage();
      $(function() {
        var form = layui.form;
        form.render();
      });
    </script>
</body>
</html>